package com.ziyun.erp.modules.otherAccessory.dao;

import com.ziyun.erp.modules.otherAccessory.entity.OtherAccessoryEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * 其余附件
 * 
 * @author gaosheng
 * @email 
 * @date 2018-09-06 09:21:40
 */
@Service("otherAccessoryDao")
public interface OtherAccessoryDao extends BaseMapper<OtherAccessoryEntity> {

    /**
     * 数据更新
     * @param map
     * @param id
     * @return
     */
    int updateByMap(@Param("map") Map<String, Object> map, @Param("id") String id);
}
